package cn.zn.modules.pz.his.entity;

import lombok.Data;
import org.mongodb.morphia.annotations.Entity;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

@Data
@Entity
@Document(collection = "pz_pay")
public class PzPay {
    @Field("ap")
    private Integer ap;
    @Field("main_id")
    private String mainId;
    @Field("pay_id")
    private String payId;
    @Field("create_time")
    private Date createTime;
    @Field("create_user_id")
    private String createUserId;
    @Field("is_active")
    private Boolean isActive;
    @Field("remark")
    private String remark;
    @Field("sort_num")
    private Integer sortNum;
    @Field("update_time")
    private Date updateTime;
    @Field("update_user_id")
    private String updateUserId;
    @Field("version")
    private Integer version;
    @Field("doc_code")
    private String docCode;
    @Field("money")
    private Double money;
    @Field("pay_type_code")
    private String payTypeCode;
    @Field("ticket_code")
    private String ticketCode;
    @Field("can_edit")
    private Boolean canEdit;

}
